← Index
NYTProf Performance Profile   
For /Users/timbo/perl5/perlbrew/perls/perl-5.18.2/bin/perlcritic
  Run on Sat Mar 19 22:12:22 2016
Reported on Sat Mar 19 22:14:12 2016

Filename(eval 276)[/Users/timbo/perl5/perlbrew/perls/perl-5.18.2/lib/5.18.2/darwin-2level/IO/Handle.pm:437]
StatementsExecuted 1 statements in 2µs
Eval Invoked At/Users/timbo/perl5/perlbrew/perls/perl-5.18.2/lib/5.18.2/darwin-2level/IO/Handle.pm line 437
Subroutines
Calls P F Exclusive
Time
Inclusive
Time
Subroutine
0000s0sIO::Handle::::getlineIO::Handle::getline
0000s0sIO::Handle::::getlinesIO::Handle::getlines
Call graph for these subroutines as a Graphviz dot language file.
Line State
ments
Time
on line
Calls Time
in subs
Code
1sub getline {
2 @_ == 1 or croak 'usage: $io->getline()';
3 my $this = shift;
4 return scalar <$this>;
5}
6
7sub getlines {
8 @_ == 1 or croak 'usage: $io->getlines()';
9 wantarray or
10 croak 'Can\'t call $io->getlines in a scalar context, use $io->getline';
11 my $this = shift;
12 return <$this>;
13}
1412µs1; # return true for error checking
15
16;